Home | Trees | Index | Help |
|
---|
Package AccessGrid :: Package hosting :: Package SOAPpy :: Module Server :: Class _Server |
|
InsecureServer
,
SecureServer
Method Summary | |
---|---|
| |
A lookup method to find the interface the SOAP Server is exposing for a given implementation object. | |
Return the interface object located at the path specified. | |
Return the interface object located at the endpoint specified by the URL. | |
Retrieve the path that represents the web service endpoint for the specified object. | |
Retrieve the url that represents the web service endpoint for the specified object. | |
Return the port on which this server is listening. | |
Return the base URL that represents this server. | |
This is simply an accessor that returns the value of the running flag. | |
This method is used to register an object with the server. | |
Run the server. | |
Start the server in a new thread. | |
Stops the server if it is running. | |
This method removes a object from the server, making it unavailable. |
Method Details |
---|
__init__(self,
addr,
server)
|
FindObject(self, obj)A lookup method to find the interface the SOAP Server is exposing for a given implementation object.
|
FindObjectForPath(self, path)Return the interface object located at the path specified. The path is a sub-part of the URL.
|
FindObjectForURL(self, url)Return the interface object located at the endpoint specified by the URL.
|
FindPathForObject(self, obj)Retrieve the path that represents the web service endpoint for the specified object.
|
FindURLForObject(self, obj)Retrieve the url that represents the web service endpoint for the specified object.
|
GetPort(self)Return the port on which this server is listening.
|
GetURLBase(self)Return the base URL that represents this server.
|
IsRunning(self)This is simply an accessor that returns the value of the running flag.
|
RegisterObject(self, obj, namespace='', path='')This method is used to register an object with the server. We wrap this call to provide handy lookup access so we can find objects when we need them. |
Run(self)Run the server. This method runs the server (that is, causes it to listen for and process incoming messages) in the current thread. It does not return. |
RunInThread(self)Start the server in a new thread. This method causes the server to begin listening for and processing incoming messages in a new message-handling thread. It returns immediately. |
Stop(self)Stops the server if it is running. |
UnregisterObject(self, obj, namespace='', path='')This method removes a object from the server, making it unavailable. Again, a wrapper to provide custom bookkeeping, then use SOAPpy directly underneath. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Apr 14 16:39:28 2005 | http://epydoc.sf.net |